#ifndef TAKECOLOR_H
#define TAKECOLOR_H

#include <QPointF>
#include <QString>
#include <QImage>

#include "DockWidget/DockWidgetColors/yuv.h"
#include "tooleffect.h"
#include "Layer/layer.h"

class DrawingArea;
class PImage;

class TakeColor: public ToolEffect{

public:
    //************************************************************* Constructor
    TakeColor(DrawingArea* drawingAreaUse,QDockWidget* dockInfoTool);
    //************************************************************* Recup color
    void recupColor(QPointF coord, Layer* layer, PImage* pimage);
    //************************************************************* Affichage of Dock Tool Info
    void createAffichage();
};

#endif // TAKECOLOR_H
